From: Jan Djärv Date: Wed, 24 Dec 2003 10:29:59 +0000 (+0000) Subject: * xfaces.c (lface_fully_specified_p): Take into account that X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~24795 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=1b032e9d4773e76073cdc958e154b1c5fa5ab739;p=emacs.git * xfaces.c (lface_fully_specified_p): Take into account that MAC OS always have unspecified stipple. --- diff --git a/src/ChangeLog b/src/ChangeLog index 845a71b0269..1dc5570000f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2003-12-24 Jan Dj,Ad(Brv + + * xfaces.c (lface_fully_specified_p): Take into account that + MAC OS always have unspecified stipple. + 2003-12-24 Thien-Thi Nguyen * tparam.c (tparam1): Add handling for `%pN', which diff --git a/src/xfaces.c b/src/xfaces.c index 37a3cc1b0f0..f079e2e4484 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -3186,7 +3186,13 @@ lface_fully_specified_p (attrs) for (i = 1; i < LFACE_VECTOR_SIZE; ++i) if (i != LFACE_FONT_INDEX && i != LFACE_INHERIT_INDEX && i != LFACE_AVGWIDTH_INDEX) - if (UNSPECIFIEDP (attrs[i])) + if (UNSPECIFIEDP (attrs[i]) +#ifdef MAC_OS + /* MAC_TODO: No stipple support on Mac OS yet, this index is + always unspecified. */ + && i != LFACE_STIPPLE_INDEX +#endif + ) break; return i == LFACE_VECTOR_SIZE;